package com.yssw.account.service;

import java.math.BigDecimal;

/**
 * @Author KnockingFarmers
 * @Date 2023/4/15 14:38
 * @PackageName:com.yssw.account.service
 * @ClassName: CalculationService
 * @Description: TODO
 * @Version 1.0
 */
@FunctionalInterface
public interface CalculationService {


    /**
     * 计算
     * @param balance
     * @param money
     * @return
     */
    BigDecimal  calculation(BigDecimal balance,BigDecimal money);
}
